-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add clip distances validation for maxInterStageShaderVariables
#8762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Add clip distances validation for maxInterStageShaderVariables
#8762
Conversation
2004d9a to
f70488b
Compare
9a8ea87 to
152fedd
Compare
6454d73 to
4a816bf
Compare
| ViewIndex, | ||
| BaseInstance, | ||
| BaseVertex, | ||
| ClipDistance { array_size: u32 }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thoughts on putting array_size: Option<u32> in the naga type rather then duplicating the whole thing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Naga type seems like its usage starts for classifying attributes, which only really makes sense as a flat set of unit variants. Naga might want to grow another representation for attributes and all relevant information, but it doesn't currently have that, and that would be strictly more general than what this is trying to accomplish.
CC @jimblandy and/or @teoxoy for thoughts on this, non-blockingly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't seem most of the variants are used. There is also quite a bit of overlap with InterStageBuiltIn, which despite the name is used for fragment inputs.
4a816bf to
ca04a30
Compare
Shortly, we're going to add our own functionality to it.
ca04a30 to
6a58c70
Compare
5b49daf to
672262f
Compare
672262f to
07c352f
Compare
07c352f to
e7966f5
Compare
|
The last blocker for merging I haven't figured out yet is GL failures on Linux. CTS appears to believe that limits are wrong, for some reason that I haven't investigated yet. |
|
@ErichDonGubler Can you update this to mention that it closes #6236? |
Connections
maxInterStageShaderComponentstomaxInterStageShaderVariables(minus coverage ofclip-distances) #8652.Testing
New CTS tests have been enabled that cover this functionality, which were previously failing.
Squash or Rebase?
Rebase.